package com.gg.fmallspringboot.service;


import com.gg.fmallspringboot.entity.UserAddr;
import com.gg.fmallspringboot.model.Result;

/**
 * @author wx
 * @date 2021-06-18 19:11:42
 */
public interface UserService {
    public Result check(String userName, String password);
    public Result checkUserName(String userName);
    public Result insertUser(String userName,String password);

    public Result<UserAddr> getAllById(Integer userId);
    public Result addUserAddr(UserAddr userAddr);
    public Result updateUserAddr(UserAddr userAddr);
    public Result deleteUserAddr(Integer addrId);
}
